package com.gaea.modules.common.model.entity;


import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * <p>
 * 角色与部门对应关系
 * </p>
 *
 * @author bjsonghongxu
 * @since 2018-01-20
 */
@Table(name="sys_role_dept")
public class SysRoleDept implements Serializable {

    private static final long serialVersionUID = 1L;

	@Id
	private Long id;

    /**
     * 角色ID
     */
	private Long roleId;

    /**
     * 部门ID
     */
	private Long deptId;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public Long getDeptId() {
		return deptId;
	}

	public void setDeptId(Long deptId) {
		this.deptId = deptId;
	}
}
